package com.sh.data.engine.application.model.request.datadev;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author: zigui.zdf
 * @description:
 * @date: 2021/6/3 16:27
 */
@Data
@Schema
public class SaveScriptRequest {

    @Schema(description = "节点id")
    @NotNull(message = "节点id不能为空")
    private Long nodeId;

    @Schema(description = "脚本内容")
    private String script;
}
